/*
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-06-02 20:16:18
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-06-15 19:27:32
 * @FilePath: \hotel-management-system2.0\src\utils\mixins\loading.js
 * @Description: 
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
 */
import { mapGetters, mapActions, mapState } from "vuex";
export const loadingMixin = {
    methods: {
        ...mapActions('loading',['setLoading'],)
    },
    created() {
        this.setLoading(true)
        this.load()
        this.setLoading(false)
    }
}
